<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        [v-cloak]{
            display: none;
        }
    </style>
</head>
<body>
<div id="app" v-cloak>
    {{message}}
</div>
<script src="../js/vue.js"></script>
<script>
    /*在vue解析之前，div里有一个属性v-cloak*/
    /*在vue解析之后,div里没有一个属性v-cloak*/
    setTimeout(function () {
        const app = new Vue({
            el: "#app",
            data: {
                message: "hello"
            }
        })
    },1000)

</script>
</body>
</html>